package com.news.service;

import com.news.model.Record;

import java.util.List;

public interface RecordService {
    //记录入库
    void insert(Record record);
    //按照用户分组显示
    List<Record> queryUser();
    //不允许重复插入
    List<Record> queryOne(String userid);
}
